package com.xy.blog.user.dao.model.rel;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.time.LocalDateTime;

/**
 * @author zanhonglei
 * @version V1.0
 * @Description:
 * @date 2020/3/13
 */
@Data
@Table(name = "t_user_attr")
public class UserAttrDO {

    @Id
    private Long id;

    @Column(name = "user_id")
    private Long userId;

    @Column(name = "attr_dict_id")
    private Long attrDictId;

    private String value;

    @Column(name = "create_time")
    private LocalDateTime createTime;

    @Column(name = "update_time")
    private LocalDateTime updateTime;

}
